import count from "./js/count";
import sum from "./js/sum";
import  './css/box.css'
import './less/index.less'
import './sass/index.sass'
import './sass/index.scss'
import './stylus/index.styl'
import './css/iconfont.css'
// 想要webpack打包资源，必须引入该资源

const result = count(2, 2);
console.log(result);
console.log(sum(1, 2, 3, 4));
document.querySelector('.btn').onclick=function(){
    // /*webpackChunkName:"math" */魔法命名 则打包出来的bundle文件为math
    import(/*webpackChunkName:"math" */'./js/math').then(({mul})=>{
        console.log(mul(3,3));
        
    })
}
